import request from '../utils/request'
export const sendSms = (phone) => {
  return request({
    url: `/v1_0/sms/codes/${phone}`
  })
}

export const login = (data) => {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    data
  })
}
